ArcPad Graphic Layer File Schema
GEOMETRY Element
See Also  Send comments on this topic.
ArcPad Graphic Layer File Schema > ArcPad Element > FEATURESET Element > FEATURES Element > FEATURE Element : GEOMETRY Element

Glossary Item Box

Description

Defines the geometry of a feature in a graphic layer file (*.apg).

Diagram

PART Element POINT Element Sequence GEOMETRY Element

Overview

GEOMETRY
Defines the geometry of a feature in a graphic layer file (*.apg).
maxx optional xs:double
Right top x-coordinate in map units.
maxy optional xs:double
Right top y-coordinate in map units.
minx optional xs:double
Left bottom x-coordinate in map units.
miny optional xs:double
Left bottom y-coordinate in map units.
type optional Restriction of xs:string
Sequence
POINT
When parent element is PREFERENCES, POINT specifies the point greeking thresholds. When parent element is GEOMETRY or PART, POINT defines a point or vertex in a graphic element. When parent element is REFPOINTS, POINT defines a reference point.
PART
Defines a part for a polyline or polygon graphic element in a graphics layer file (*.apg).
maxx required xs:double
Right top x-coordinate in map units.
maxy required xs:double
Right top y-coordinate in map units.
minx required xs:double
Left bottom x-coordinate in map units.
miny required xs:double
Left bottom y-coordinate in map units.
type optional Restriction of xs:string
Sequence
POINT
When parent element is PREFERENCES, POINT specifies the point greeking thresholds. When parent element is GEOMETRY or PART, POINT defines a point or vertex in a graphic element. When parent element is REFPOINTS, POINT defines a reference point.

Attributes

NameTypeUseDefaultFixedDescription
maxxxs:doubleoptional  Right top x-coordinate in map units.
maxyxs:doubleoptional  Right top y-coordinate in map units.
minxxs:doubleoptional  Left bottom x-coordinate in map units.
minyxs:doubleoptional  Left bottom y-coordinate in map units.
typeRestriction of xs:stringoptional   

Remarks

  • If the GEOMETRY type is rect, ellipse, or circle, then PART is not used.
  • minx, miny, maxx, maxy attributes are not required when type is point, pointz, or pointm.

Examples

Restrictions

If type is point, pointz, or pointm, then the child element is POINT. Otherwise, the child element is PART.

Source

<xs:element name="GEOMETRY" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="POINT" />
      <xs:element name="PART">
        <xs:complexType>
          <xs:sequence>
            <xs:element ref="POINT" />
          </xs:sequence>
          <xs:attribute ref="maxx" use="required" />
          <xs:attribute ref="maxy" use="required" />
          <xs:attribute ref="minx" use="required" />
          <xs:attribute ref="miny" use="required" />
          <xs:attribute name="type">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="polyline" />
                <xs:enumeration value="polylinez" />
                <xs:enumeration value="polylinem" />
                <xs:enumeration value="polygon" />
                <xs:enumeration value="polygonz" />
                <xs:enumeration value="polygonm" />
                <xs:enumeration value="rect" />
                <xs:enumeration value="ellipse" />
                <xs:enumeration value="circle" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute ref="maxx" />
    <xs:attribute ref="maxy" />
    <xs:attribute ref="minx" />
    <xs:attribute ref="miny" />
    <xs:attribute name="type">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="point" />
          <xs:enumeration value="pointz" />
          <xs:enumeration value="pointm" />
          <xs:enumeration value="polyline" />
          <xs:enumeration value="polylinez" />
          <xs:enumeration value="polylinem" />
          <xs:enumeration value="polygon" />
          <xs:enumeration value="polygonz" />
          <xs:enumeration value="polygonm" />
          <xs:enumeration value="rect" />
          <xs:enumeration value="ellipse" />
          <xs:enumeration value="circle" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.